package com.neusoft.neuiotms.dcom.repository.incident;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.incident.IncidentRegisterAttachment;

public interface IncidentRegisterAttachmentRepository extends JpaRepository<IncidentRegisterAttachment, Long> {

    List<IncidentRegisterAttachment> findByFsId(String fsId);

    List<IncidentRegisterAttachment> findByFsIdIn(List<String> fsIds);

    List<IncidentRegisterAttachment> findByIncidentRegisterId(Long id);

    void deleteByFsId(String fsId);
}
